<template>
	<view class="agreement">
		<u-parse :html="data.details"></u-parse>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				data: {}
			};
		},
		onLoad(el) {
			this.getAgreement()
		},
		methods: {
			getAgreement(type){
				let that = this
				that.$api.rollindex('WITHDRAWAL_RULES').then(res => {
					that.data = res.data.data
					console.log(res.data.data,'that.homelist')
				})
			}
		}
	}
</script>

<style lang="less">
	.agreement{
		padding: 20rpx;
	}
</style>
